import request from '@/utils/request'
// 查询工艺体列表
export function listProcessBody(query) {
  return request({
    url: '/robot/processbody/list',
    method: 'get',
    params: query
  })
}
// 查询工艺体详细
export function getProcessBody(id) {
  return request({
    url: '/robot/processbody/' + id,
    method: 'get'
  })
}
// 新增工艺体
export function addProcessBody(data) {
  return request({
    url: '/robot/processbody',
    method: 'post',
    data: data
  })
}
// 修改工艺体
export function updateProcessBody(data) {
  return request({
    url: '/robot/processbody',
    method: 'put',
    data: data
  })
}
// 删除工艺体
export function delProcessBody(id) {
  return request({
    url: '/robot/processbody/' + id,
    method: 'delete'
  })
}
